<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.sql.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="UTF-8">
<title>添加信息</title>
<script language="javascript">  
function isValid(form)  
{  
if (form.name.value=="")  
 {  
 alert("姓名不能为空");  
 return false;  
 }  

else return true;  
}  
</script> 
</head>
<body>


  <b>添加学生信息</b>

  <div id="main">
    <form action="Renew.jsp" method="post" onSubmit="return isValid(this);">
<table>
  <ul>
 <li>用&nbsp;户&nbsp;名:
  <input type="text" name="username" autofocus size="20" title="用户名">
   </li>
  <li>姓&nbsp;名:
  <input type="text" name="name" autofocus size="20" title="姓名">
   </li>
    <li>学&nbsp;号:
  <input type="text" name="number" autofocus size="20" title="学号">
  </li>
   <li>性&nbsp;别:
  <input type="text" name="sex" autofocus size="20" title="性别">
  </li>
    <li>
    <input type="submit" name="submit" id="submit" value="提交">
    <input type="reset" name="reset" id="reset" value="重置">
    </li>
    
     </ul>
     </table>
     </form>
     </div>

</table>
<a href="student_system.jsp">返回</a>
</body>
</html>